<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>设置我关注的资讯类型</title>
		<link href="css/main.css" rel="stylesheet" type="text/css"
			media="screen" />
		<script src="${ctx}/js/jquery-1.4a2.min.js" type="text/javascript"></script>
		<script type="text/javascript" src="${ctx}/js/page.js"></script>
		<link href="css/form.css" rel="stylesheet" type="text/css"
			media="screen" />
	</head>

	<body id="user-center-other">

		<div class="wrapper">
			<!--common header-->

			<jsp:include page="header.jsp" flush="true"></jsp:include>


			<div id="container">



				<p>
					<a href="main.jsp">返回个人中心首页</a>
				</p>
				<s:action name="getArticleType" namespace="/admin"></s:action>
				<form id="form1" action="createUserAttention" method="post">
					<input type="hidden" name="userId" value="${sessionScope.USER.userId}"/>
					<fieldset>
						
						<p class="first">

							<label for="name">
								设置我关注资讯类型
							</label>
							<select name="attentionType">
								<c:forEach var="atype" items="${requestScope.ArticleType}" >
									<option value="${atype.articleTypeName}">
										${atype.articleTypeName}
									</option>
								</c:forEach>
							</select>
						</p>
					</fieldset>

					<p class="submit">
						<button type="submit">
							提交
						</button>
					</p>

				</form>

			</div>

		</div>

		<!--footer -->
		<jsp:include page="footer.jsp" flush="true"></jsp:include>
	</body>
</html>